﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RedDragon.Common.Dtos
{
    /// <summary>
    /// 物料管理dto
    /// </summary>
    public class MaterialDto
    {
        /// <summary>
        /// 物料管理ID
        /// </summary>
        public int MaterialId { get; set; }
        /// <summary>
        /// 物料服务ID
        /// </summary>
        public int MaterialsServicesId { get; set; }
        /// <summary>
        /// 物料服务名称
        /// </summary>
        public string? MaterialsServicesName { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string? MaterialCode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string? MaterialName { get; set; }
        /// <summary>
        /// 物料类别ID
        /// </summary>
        public int? MaterialCategoryId { get; set; }
        /// <summary>
        /// 类别名称
        /// </summary>
        public string? MaterialCategoryName { get; set; }
        /// <summary>
        /// 物料单位ID
        /// </summary>
        public int? MaterialUnitId { get; set; }
        /// <summary>
        /// 物料单位名称
        /// </summary>
        public string? MaterialUnitName { get; set; }
        /// <summary>
        /// 规格
        /// </summary>
        public string? Specifications { get; set; }
        /// <summary>
        /// 规格单位ID
        /// </summary>
        public int? SpecificationUnitId { get; set; }
        /// <summary>
        /// 规格单位名称
        /// </summary>
        public string? SpecificationUnitName { get; set; }
        /// <summary>
        /// 包装规格
        /// </summary>
        public string? PackagingSpecifications { get; set; }
        /// <summary>
        /// 库存上限
        /// </summary>
        public decimal? InventoryLimit { get; set; }
        /// <summary>
        /// 库存下限
        /// </summary>
        public decimal? InventoryLowerLimit { get; set; }
        /// <summary>
        /// 状态 1-有效；2-无效
        /// </summary>
        public int IsStatus { get; set; }
        /// <summary>
        /// 是否删除 1-未删除；2-删除
        /// </summary>
        public int IsDel { get; set; }
        /// <summary>
        /// 审核状态 1-未提交；2-已审批；3-已提交
        /// </summary>
        public int AuditStatus { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreatedOwner { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatedTime { get; set; }
    }
}
